package com.tangcco.lockwell.repository;

import com.tangcco.lockwell.base.BasePage;
import com.tangcco.lockwell.domain.DataDictionary;
import com.tangcco.lockwell.viewmodel.admin.subject.SubjectVM;

import javax.security.auth.Subject;
import java.util.List;
/*
*   author: 宋鑫垚
*/
public interface SubjectMapper extends BaseMapper<SubjectVM> {
    //查询所有主科目
    List<SubjectVM> selectAllMainSubject();
    //查询主科目所对应的副属科目
    List<SubjectVM> selectAllSubject(Integer parentId);
    //学科条件分页查询
    List<SubjectVM> selectSubjectByPage(SubjectVM subjectVM);
    //学科详情查询
    SubjectVM selectSubjectById(Integer id);
    //查询所有学科
    List<SubjectVM> selectAll();

    List<SubjectVM> selectLevel1();
}
